package br.ufrgs.inf.cwsmart.data;

import java.sql.ResultSet;

import br.ufrgs.inf.cwsmart.exception.FrameworkException;

/**
 * Interface for the class that manages the repository.
 * 
 * @author Rodrigo S Lumertz
 *
 */
public interface DataMartManager {

	/**
	 * Adds data into the data mart.
	 * 
	 * @param sql The sql to execute.
	 */
	public void addData(String sql) throws FrameworkException;;
	
	/**
	 * Retrieves data from the data mart.
	 * 
	 * @param sql The sql to execute.
	 * @return
	 */
	public ResultSet retrieveData(String sql) throws FrameworkException;;
}
